package com.heima.user;
import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Slf4j
@SpringBootApplication
@MapperScan(basePackages = {"com.heima.user.mapper"})
@EnableDiscoveryClient
@EnableTransactionManagement
public class UserApplication {
    public static void main(String[] args) {
        SpringApplication.run(UserApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  用户模块启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                " .-------.       ____     __        \n" +
                " |  _ _   \\      \\   \\  /  /    \n" +
                " | ( ' )  |       \\  _. /  '      \n" +
                " |(_ o _) /        _( )_/   /           \n" +
                " | (_,_) /         /   \\  /           \n" +
                " |  | | |         |  ^  | /             \n" +
                " |  | | |         |  /  |/             \n" +
                " |  |_| |         |  /  |                \n" +
                " |  |   |         |  `  |                \n" +
                " |  |   |         |  \\  |                \n" +
                " |  |   |         |   \\ |                \n" +
                " `------'         `------'                 \n");
    }
}
